package com.api.service;

import com.api.pojo.User;

import java.util.List;

public interface UserService {
    User queryUserById(int id);

    List<User> queryUserList(int pageNum, int pageSize);

    int createUser(User user);

    int updateUser(int id, User user);

    int deleteUser(int id);

    int login(String username, String password);
}
